package cn.edu.sgu.www.mhxysy.dto.system;

import cn.edu.sgu.www.mhxysy.dto.DataTransferObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
public class MessageDTO implements DataTransferObject {

    /**
     * 消息接收者
     */
    @ApiModelProperty(value = "消息接收者", required = true)
    private List<String> users;

    /**
     * 消息内容
     */
    @ApiModelProperty(value = "消息内容", required = true)
    private String content;

    /**
     * 消息发送者
     */
    @ApiModelProperty(value = "消息发送者", required = true)
    private String sender;
}